
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>Docker学习笔记 · tgor note</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="tgor">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-chapter-fold/chapter-fold.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-page-toc-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="docker笔记.html" />
    
    
    <link rel="prev" href="../category/容器化.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Me
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../category/微服务.html">
            
                <a href="../category/微服务.html">
            
                    
                    微服务
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../Java-Spring/Feign.html">
            
                <a href="../Java-Spring/Feign.html">
            
                    
                    HTTP客户端Feign
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../Java-其他库/限流.html">
            
                <a href="../Java-其他库/限流.html">
            
                    
                    限流
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../运维/Nginx限流.html">
            
                <a href="../运维/Nginx限流.html">
            
                    
                    限流Nginx
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="../Java-Spring/负载均衡.html">
            
                <a href="../Java-Spring/负载均衡.html">
            
                    
                    负载均衡
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="../运维/Nginx负载均衡.html">
            
                <a href="../运维/Nginx负载均衡.html">
            
                    
                    负载均衡Nginx
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.6" data-path="../Java-其他库/熔断Hystrix.html">
            
                <a href="../Java-其他库/熔断Hystrix.html">
            
                    
                    熔断Hystrix
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.7" data-path="../Java-其他库/缓存.html">
            
                <a href="../Java-其他库/缓存.html">
            
                    
                    缓存
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.8" data-path="../Java-其他库/缓存.html">
            
                <a href="../Java-其他库/缓存.html#本地缓存">
            
                    
                    本地缓存
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.9" data-path="../Redis/Redis.html">
            
                <a href="../Redis/Redis.html">
            
                    
                    分布式缓存Redis
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.10" data-path="../Java-其他库/分布式事务.html">
            
                <a href="../Java-其他库/分布式事务.html">
            
                    
                    分布式事务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.11" data-path="../Java-其他库/分布式事务.html">
            
                <a href="../Java-其他库/分布式事务.html#事务消息">
            
                    
                    可靠事务消息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.12" data-path="../Java-Spring/业务监控.html">
            
                <a href="../Java-Spring/业务监控.html">
            
                    
                    业务监控
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.13" data-path="../Java-其他库/分布式定时作业.html">
            
                <a href="../Java-其他库/分布式定时作业.html">
            
                    
                    分布式作业调度ElasticJob
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.14" data-path="../Java-ORM/ORM.html">
            
                <a href="../Java-ORM/ORM.html">
            
                    
                    ORM
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.15" data-path="../Java-其他库/分布式系统及CAP原理.html">
            
                <a href="../Java-其他库/分布式系统及CAP原理.html">
            
                    
                    分布式系统及CAP原理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.16" data-path="../MQ/RabbitMQ笔记.html">
            
                <a href="../MQ/RabbitMQ笔记.html">
            
                    
                    消息驱动Rabbitmq
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../category/数据库.html">
            
                <a href="../category/数据库.html">
            
                    
                    数据库
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../Mysql/经典数据库设计案例.html">
            
                <a href="../Mysql/经典数据库设计案例.html">
            
                    
                    mysql设计
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../Mysql/Mysql事务与锁.html">
            
                <a href="../Mysql/Mysql事务与锁.html">
            
                    
                    mysql事务与锁
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../Mysql/mysql数据类型.html">
            
                <a href="../Mysql/mysql数据类型.html">
            
                    
                    mysql数据类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="../Mysql/mysql索引及查询.html">
            
                <a href="../Mysql/mysql索引及查询.html">
            
                    
                    mysql索引与查询
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="../Mysql/mysql索引及查询.html">
            
                <a href="../Mysql/mysql索引及查询.html#查询语句设计准则">
            
                    
                    mysql查询语句设计准则
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6" data-path="../Mysql/mysql性能测试.html">
            
                <a href="../Mysql/mysql性能测试.html">
            
                    
                    mysql性能测试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.7" data-path="../Mysql/mysql主从同步与读写分离.html">
            
                <a href="../Mysql/mysql主从同步与读写分离.html">
            
                    
                    mysql主从同步与读写分离
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.8" data-path="../Java-Spring/SpringBoot事务注解@Transactional.html">
            
                <a href="../Java-Spring/SpringBoot事务注解@Transactional.html">
            
                    
                    Spring事务注解@Transactional
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.9" data-path="../数据结构与算法/位运算应用实例.html">
            
                <a href="../数据结构与算法/位运算应用实例.html">
            
                    
                    位运算应用实例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.10" data-path="../Mongodb-Client/morphia-API汇总.html">
            
                <a href="../Mongodb-Client/morphia-API汇总.html">
            
                    
                    morphia API汇总
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.11" data-path="../Mongodb-Client/mongo驱动连接.html">
            
                <a href="../Mongodb-Client/mongo驱动连接.html">
            
                    
                    mongodb驱动与连接
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.12" data-path="../Mongodb/mongodb-ObjectId实践.html">
            
                <a href="../Mongodb/mongodb-ObjectId实践.html">
            
                    
                    mongodb ObjectId实践
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.13" data-path="../Mongodb/mongodb角色权限.html">
            
                <a href="../Mongodb/mongodb角色权限.html">
            
                    
                    mongodb角色权限
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../category/java并发.html">
            
                <a href="../category/java并发.html">
            
                    
                    Java并发
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../Java-Base/Java并发.html">
            
                <a href="../Java-Base/Java并发.html">
            
                    
                    Java并发
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../Java-Base/Java并发.html">
            
                <a href="../Java-Base/Java并发.html#锁">
            
                    
                    Java并发之锁设计
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../Java-Base/Java并发.html">
            
                <a href="../Java-Base/Java并发.html#synchronized">
            
                    
                    Java并发之synchronized
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="../Java-Base/Java之Lock.html">
            
                <a href="../Java-Base/Java之Lock.html#reentrantlock">
            
                    
                    Java Lock之ReentrantLock
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="../Java-Base/Java之Lock.html">
            
                <a href="../Java-Base/Java之Lock.html#reentrantreadwritelock">
            
                    
                    Java Lock之ReentrantReadWriteLock
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6" data-path="../Java-Base/Java之Future.html">
            
                <a href="../Java-Base/Java之Future.html">
            
                    
                    Java Future
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.7" data-path="../Java-Base/Java之Future.html">
            
                <a href="../Java-Base/Java之Future.html#futuretask">
            
                    
                    Java Future之FutureTask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.8" data-path="../Java-Base/Java之Future.html">
            
                <a href="../Java-Base/Java之Future.html#completablefuture">
            
                    
                    Java Future之CompletableFuture
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.9" data-path="../Java-Base/Java之Future.html">
            
                <a href="../Java-Base/Java之Future.html#forkjointask">
            
                    
                    Java Future之ForkJoinTask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.10" data-path="../Java-Base/Java之Thread.html">
            
                <a href="../Java-Base/Java之Thread.html">
            
                    
                    Java Thread
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../category/redis.html">
            
                <a href="../category/redis.html">
            
                    
                    Redis
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../Redis/Redis.html">
            
                <a href="../Redis/Redis.html">
            
                    
                    Redis
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../Redis/Redis.html">
            
                <a href="../Redis/Redis.html#集群">
            
                    
                    Redis集群
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="../Redis/Redis.html">
            
                <a href="../Redis/Redis.html#消息订阅">
            
                    
                    Redis消息订阅
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="../Redis/Redis.html">
            
                <a href="../Redis/Redis.html#lua">
            
                    
                    Redis Lua脚本
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="../Redis/Redis.html">
            
                <a href="../Redis/Redis.html#配置汇总">
            
                    
                    Redis配置汇总
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../category/运维.html">
            
                <a href="../category/运维.html">
            
                    
                    运维
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../运维/Linux常用操作汇总.html">
            
                <a href="../运维/Linux常用操作汇总.html">
            
                    
                    Linux常用操作汇总
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../运维/阿里云笔记.html">
            
                <a href="../运维/阿里云笔记.html">
            
                    
                    阿里云笔记
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../category/nginx.html">
            
                <a href="../category/nginx.html">
            
                    
                    Nginx
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../运维/Nginx学习笔记.html">
            
                <a href="../运维/Nginx学习笔记.html">
            
                    
                    Nginx基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="../运维/Nginx负载均衡.html">
            
                <a href="../运维/Nginx负载均衡.html">
            
                    
                    Nginx负载均衡
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="../运维/Nginx限流.html">
            
                <a href="../运维/Nginx限流.html">
            
                    
                    Nginx限流
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.4" data-path="../运维/Nginx学习笔记.html">
            
                <a href="../运维/Nginx学习笔记.html#六、其他">
            
                    
                    Nginx客户端辅助技巧
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../category/容器化.html">
            
                <a href="../category/容器化.html">
            
                    
                    容器化
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.8.1" data-path="docker笔记.html">
            
                <a href="docker笔记.html">
            
                    
                    Docker学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="docker笔记.html">
            
                <a href="docker笔记.html#基础操作">
            
                    
                    Docker基础操作
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3" data-path="docker笔记.html">
            
                <a href="docker笔记.html#dockerfile">
            
                    
                    DockerFile
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="../category/Web.html">
            
                <a href="../category/Web.html">
            
                    
                    Web
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1" data-path="../运维/Http入坑Https笔记.html">
            
                <a href="../运维/Http入坑Https笔记.html">
            
                    
                    Http入坑Https笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.2" data-path="../Web/阿里云OSS.html">
            
                <a href="../Web/阿里云OSS.html">
            
                    
                    OSS
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="../category/java基础.html">
            
                <a href="../category/java基础.html">
            
                    
                    Java基础
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.10.1" data-path="../Java-Base/Java基础.html">
            
                <a href="../Java-Base/Java基础.html#jvm">
            
                    
                    JVM基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.2" data-path="../Java-Base/Java基础.html">
            
                <a href="../Java-Base/Java基础.html#语法糖">
            
                    
                    Java语法糖
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.3" data-path="../Java-Base/Java基础.html">
            
                <a href="../Java-Base/Java基础.html#数据结构">
            
                    
                    Java数据结构
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.4" data-path="../Java-Base/Java8函数式编程.html">
            
                <a href="../Java-Base/Java8函数式编程.html">
            
                    
                    java8函数式编程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.5" data-path="../Java-Base/ArrayList源码分析.html">
            
                <a href="../Java-Base/ArrayList源码分析.html">
            
                    
                    JDK源码分析ArrayList
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.6" data-path="../Java-Base/HashMap源码分析.html">
            
                <a href="../Java-Base/HashMap源码分析.html">
            
                    
                    JDK源码分析HashMap
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.7" data-path="../Java-Base/Java注解.html">
            
                <a href="../Java-Base/Java注解.html">
            
                    
                    Java注解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.8" data-path="../Java-Base/Timsort排序算法.html">
            
                <a href="../Java-Base/Timsort排序算法.html">
            
                    
                    Timsort排序算法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.9" data-path="../Java-Base/插入排序分析与Java实现.html">
            
                <a href="../Java-Base/插入排序分析与Java实现.html">
            
                    
                    插入排序分析与Java实现
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="../category/工具与规范.html">
            
                <a href="../category/工具与规范.html">
            
                    
                    工具与规范
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.11.1" data-path="../工具/Maven使用技巧汇总.html">
            
                <a href="../工具/Maven使用技巧汇总.html">
            
                    
                    Maven使用技巧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.2" data-path="../编码规范/Java编码规范.html">
            
                <a href="../编码规范/Java编码规范.html">
            
                    
                    Java编码规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="../category/OLAP.html">
            
                <a href="../category/OLAP.html">
            
                    
                    OLAP
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.12.1" data-path="../数据处理/storm学习笔记.html">
            
                <a href="../数据处理/storm学习笔记.html">
            
                    
                    流式计算Storm学习笔记
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="../category/数据运营.html">
            
                <a href="../category/数据运营.html">
            
                    
                    数据运营
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.13.1" data-path="../数据运营/增长黑客数据运营.html">
            
                <a href="../数据运营/增长黑客数据运营.html">
            
                    
                    增长黑客-数据运营
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="../category/前端技术栈.html">
            
                <a href="../category/前端技术栈.html">
            
                    
                    前端技术栈
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.14.1" data-path="../前端/JavaScript设计模式.html">
            
                <a href="../前端/JavaScript设计模式.html">
            
                    
                    JavaScript设计模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14.2" data-path="../前端/html相对路径与绝对路径.html">
            
                <a href="../前端/html相对路径与绝对路径.html">
            
                    
                    Html相对路径与绝对路径
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14.3" data-path="../前端/微信小程序学习笔记.html">
            
                <a href="../前端/微信小程序学习笔记.html">
            
                    
                    微信小程序学习笔记
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="../category/个人.html">
            
                <a href="../category/个人.html">
            
                    
                    个人
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.15.1" data-path="../个人/简历.html">
            
                <a href="../个人/简历.html">
            
                    
                    简历
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >Docker学习笔记</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="docker&#x5B66;&#x4E60;&#x7B14;&#x8BB0;">Docker&#x5B66;&#x4E60;&#x7B14;&#x8BB0;</h1>
<p>Docker&#x5C5E;&#x4E8E;Linux&#x5BB9;&#x5668;&#x7684;&#x4E00;&#x79CD;&#x5C01;&#x88C5;</p>
<p>&#x76F8;&#x5BF9;&#x865A;&#x62DF;&#x673A;&#x4F18;&#x52BF;</p>
<ul>
<li>Docker&#x542F;&#x52A8;&#x5C5E;&#x4E8E;&#x79D2;&#x7EA7;&#x522B;</li>
<li>&#x66F4;&#x8F7B;&#x91CF;&#xFF0C;&#x540C;&#x6837;&#x786C;&#x4EF6;&#x73AF;&#x5883;&#xFF0C;&#x53EF;&#x4EE5;&#x8FD0;&#x884C;&#x955C;&#x50CF;&#x8FDC;&#x591A;&#x4E8E;&#x865A;&#x62DF;&#x673A;&#x3001;&#x5BF9;&#x7CFB;&#x7EDF;&#x7684;&#x5229;&#x7528;&#x7387;&#x66F4;&#x9AD8;</li>
<li>Docker&#x5C5E;&#x4E8E;&#x8FDB;&#x7A0B;&#x95F4;&#x9694;&#x79BB;&#x3001;&#x865A;&#x62DF;&#x673A;&#x5C5E;&#x4E8E;&#x7CFB;&#x7EDF;&#x7EA7;&#x522B;&#x9694;&#x79BB;</li>
<li>&#x9AD8;&#x53EF;&#x7528;&#x4E0E;&#x53EF;&#x6062;&#x590D;&#x6027;&#x3002;&#x5B9E;&#x73B0;&#x5FEB;&#x901F;&#x90E8;&#x7F72;</li>
</ul>
<p>Docker&#x547D;&#x4EE4;&#x6D41;&#x7A0B;&#x56FE;</p>
<p><img src="assets/1584759924944.png" alt="1584759924944"></p>
<h1 id="&#x6982;&#x5FF5;">&#x6982;&#x5FF5;</h1>
<h2 id="&#x955C;&#x50CF;image">&#x955C;&#x50CF;Image</h2>
<p>&#x9664;&#x4E86;&#x63D0;&#x4F9B;&#x5BB9;&#x5668;&#x8FD0;&#x884C;&#x65F6;&#x6240;&#x9700;&#x7684;&#x7A0B;&#x5E8F;&#x3001;&#x5E93;&#x3001;&#x8D44;&#x6E90;&#x3001;&#x914D;&#x7F6E;&#x7B49;&#x6587;&#x4EF6;&#x5916;&#xFF0C;&#x8FD8;&#x5305;&#x542B;&#x4E86;&#x4E00;&#x4E9B;&#x4E3A;&#x8FD0;&#x884C;&#x65F6;&#x51C6;&#x5907;&#x7684;&#x4E00;&#x4E9B;&#x914D;&#x7F6E;&#x53C2;&#x6570;&#xFF08;&#x5982;&#x533F;&#x540D;&#x5377;&#x3001;&#x73AF;&#x5883;&#x53D8;&#x91CF;&#x3001;&#x7528;&#x6237;&#x7B49;&#xFF09;</p>
<h2 id="&#x5BB9;&#x5668;container">&#x5BB9;&#x5668;Container</h2>
<p>&#x5BB9;&#x5668; = &#x955C;&#x50CF; + &#x8BFB;&#x5199;&#x5C42;</p>
<h2 id="&#x4ED3;&#x5E93;repository">&#x4ED3;&#x5E93;Repository</h2>
<p>Docker &#x4ED3;&#x5E93;&#x662F;&#x96C6;&#x4E2D;&#x5B58;&#x653E;&#x955C;&#x50CF;&#x6587;&#x4EF6;&#x7684;&#x573A;&#x6240;</p>
<h2 id="&#x4ED3;&#x5E93;&#x6CE8;&#x518C;&#x670D;&#x52A1;&#x5668;registry">&#x4ED3;&#x5E93;&#x6CE8;&#x518C;&#x670D;&#x52A1;&#x5668;Registry</h2>
<p>&#x7C7B;&#x4F3C;github</p>
<p>&#x4E00;&#x4E2A;docker registry&#x5305;&#x542B;&#x591A;&#x4E2A;&#x4ED3;&#x5E93;repository</p>
<p>&#x4ED3;&#x5E93;&#x53C8;&#x53EF;&#x4EE5;&#x5206;&#x4E3A;&#x4E24;&#x79CD;&#x5F62;&#x5F0F;&#xFF1A;</p>
<ul>
<li><p>Public&#xFF08;&#x516C;&#x6709;&#x4ED3;&#x5E93;&#xFF09;</p>
</li>
<li><p>Private&#xFF08;&#x79C1;&#x6709;&#x4ED3;&#x5E93;&#xFF09;</p>
</li>
</ul>
<p>Docker Registry &#x516C;&#x6709;&#x4ED3;&#x5E93;&#x662F;&#x5F00;&#x653E;&#x7ED9;&#x7528;&#x6237;&#x4F7F;&#x7528;&#x3001;&#x5141;&#x8BB8;&#x7528;&#x6237;&#x7BA1;&#x7406;&#x955C;&#x50CF;&#x7684; Registry &#x670D;&#x52A1;</p>
<h1 id="docker&#x7EC4;&#x4EF6;">Docker&#x7EC4;&#x4EF6;</h1>
<p><img src="assets/1584760619558.png" alt="1584760619558"></p>
<ul>
<li>Docker Client&#xFF1A;&#x5BA2;&#x6237;&#x7AEF;&#xFF0C;&#x8D1F;&#x8D23;&#x5904;&#x7406;Docker&#x547D;&#x4EE4;&#x8BF7;&#x6C42;</li>
<li>Docker Daemon&#xFF1A;&#x670D;&#x52A1;&#x7AEF;&#xFF0C;&#x4EE5;Linux&#x540E;&#x53F0;&#x670D;&#x52A1;&#x7684;&#x65B9;&#x5F0F;&#x8FD0;&#x884C;&#xFF0C;&#x662F;Docker&#x6700;&#x6838;&#x5FC3;&#x7684;&#x540E;&#x53F0;&#x8FDB;&#x7A0B;</li>
</ul>
<h1 id="&#x57FA;&#x7840;&#x64CD;&#x4F5C;">&#x57FA;&#x7840;&#x64CD;&#x4F5C;</h1>
<p><img src="assets/1584762204503.png" alt="1584762204503"></p>
<h2 id="&#x641C;&#x7D22;&#x955C;&#x50CF;search">&#x641C;&#x7D22;&#x955C;&#x50CF;search</h2>
<pre><code class="lang-shell">docker search nginx
</code></pre>
<h2 id="&#x641C;&#x7D22;&#x955C;&#x50CF;&#x5168;&#x90E8;&#x7248;&#x672C;">&#x641C;&#x7D22;&#x955C;&#x50CF;&#x5168;&#x90E8;&#x7248;&#x672C;</h2>
<pre><code class="lang-shell">#!/bin/sh

repo_url=https://registry.hub.docker.com/v1/repositories
image_name=$1

curl -s ${repo_url}/${image_name}/tags | json_reformat | grep name | awk &apos;{print $2}&apos; | sed -e &apos;s/&quot;//g&apos;
</code></pre>
<p>&#x4F7F;&#x7528;</p>
<pre><code>$ ./list_img_tags.sh tensorflow/tensorflow
latest
0.10.0
0.10.0-devel
</code></pre><h2 id="&#x62C9;&#x53BB;&#x955C;&#x50CF;pull">&#x62C9;&#x53BB;&#x955C;&#x50CF;pull</h2>
<p><code>docker pull centos:latest</code></p>
<h2 id="&#x542F;&#x52A8;&#x505C;&#x6B62;&#x91CD;&#x542F;">&#x542F;&#x52A8;&#x505C;&#x6B62;&#x91CD;&#x542F;</h2>
<pre><code>#&#x542F;&#x52A8;
docker start container_name/container_id
#&#x91CD;&#x542F;
docker restart container_name/container_id
#&#x5173;&#x505C;
docker stop container_name/container_id
</code></pre><h2 id="&#x67E5;&#x770B;&#x955C;&#x50CF;images">&#x67E5;&#x770B;&#x955C;&#x50CF;images</h2>
<p><code>docker images</code></p>
<h2 id="&#x67E5;&#x770B;&#x5BB9;&#x5668;ps">&#x67E5;&#x770B;&#x5BB9;&#x5668;ps</h2>
<p><code>docker ps -a</code></p>
<h2 id="&#x8FDB;&#x5165;&#x955C;&#x50CF;exec">&#x8FDB;&#x5165;&#x955C;&#x50CF;exec</h2>
<p><code>docker exec -it container_name /bin/bash</code></p>
<h2 id="&#x91CD;&#x7F6E;&#x6620;&#x5C04;&#x7AEF;&#x53E3;">&#x91CD;&#x7F6E;&#x6620;&#x5C04;&#x7AEF;&#x53E3;</h2>
<pre><code class="lang-ruby">$ docker stop A
$ docker commit A imageA <span class="hljs-comment">#&#x5C06;&#x5BB9;&#x5668;commit&#x63D0;&#x4EA4;&#x6210;&#x4E3A;&#x4E00;&#x4E2A;&#x955C;&#x50CF;</span>
$ docker rm A <span class="hljs-comment">#&#x5220;&#x9664;&#x539F;&#x955C;&#x50CF;</span>
$ docker run -d -p <span class="hljs-number">80</span><span class="hljs-symbol">:</span><span class="hljs-number">80</span> --name A imageA <span class="hljs-comment">#&#x542F;&#x52A8;&#x65B0;&#x955C;&#x50CF;</span>
</code></pre>
<h2 id="&#x67E5;&#x8BE2;&#x6302;&#x8F7D;&#x76EE;&#x5F55;">&#x67E5;&#x8BE2;&#x6302;&#x8F7D;&#x76EE;&#x5F55;</h2>
<pre><code>docker inspect container_name | grep Mounts -A 20
</code></pre><h2 id="&#x8FFD;&#x52A0;&#x6620;&#x5C04;&#x7AEF;&#x53E3;">&#x8FFD;&#x52A0;&#x6620;&#x5C04;&#x7AEF;&#x53E3;</h2>
<h1 id="dockerfile">DockerFile</h1>
<p>Docker File&#x662F;&#x81EA;&#x52A8;&#x6784;&#x5EFA;Docker&#x955C;&#x50CF;&#x7684;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#xFF0C;&#x7528;&#x4E8E;&#x521B;&#x5EFA;&#x81EA;&#x5B9A;&#x4E49;&#x7684;&#x955C;&#x50CF;</p>
<h2 id="&#x5173;&#x952E;&#x5B57;&#x8BF4;&#x660E;">&#x5173;&#x952E;&#x5B57;&#x8BF4;&#x660E;</h2>
<table>
<thead>
<tr>
<th>&#x5173;&#x952E;&#x5B57;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>FROM</td>
<td>&#x7EE7;&#x627F;&#x955C;&#x50CF;&#x6807;&#x7B7E;&#x53CA;&#x7248;&#x672C;</td>
</tr>
<tr>
<td>COPY</td>
<td>&#x4ECE;&#x6E90;&#x76EE;&#x5F55;&#x62F7;&#x8D1D;&#x5230;&#x5BB9;&#x5668;&#x5185;&#x76EE;&#x5F55;</td>
</tr>
<tr>
<td>WORKDIR</td>
<td>&#x5BB9;&#x5668;&#x5185;&#x5DE5;&#x4F5C;&#x76EE;&#x5F55;</td>
</tr>
<tr>
<td>RUN</td>
<td>&#x521B;&#x5EFA;&#x5BB9;&#x5668;&#x6210;&#x529F;&#x540E;&#x6267;&#x884C;&#x547D;&#x4EE4;</td>
</tr>
<tr>
<td>CMD</td>
<td>&#x5BB9;&#x5668;&#x542F;&#x52A8;&#x540E;&#x6267;&#x884C;&#x547D;&#x4EE4;</td>
</tr>
<tr>
<td>EXPOSE</td>
<td>&#x5BB9;&#x5668;&#x5411;&#x5916;&#x66B4;&#x9732;&#x7AEF;&#x53E3;</td>
</tr>
<tr>
<td>ENV</td>
<td>&#x6307;&#x5B9A;&#x73AF;&#x5883;&#x53D8;&#x91CF;: ENV envName envValue</td>
</tr>
</tbody>
</table>
<h2 id="&#x521B;&#x5EFA;&#x955C;&#x50CF;build">&#x521B;&#x5EFA;&#x955C;&#x50CF;build</h2>
<p>dockerfile</p>
<pre><code class="lang-dockerfile"><span class="hljs-keyword">FROM</span> java:<span class="hljs-number">8</span>
COPY . /www/server/tg-service
<span class="hljs-keyword">WORKDIR</span> <span class="bash">/www/server/tg-service
</span><span class="hljs-keyword">CMD</span> <span class="bash">java -jar tg-service-1.0.0-SNAPSHOT.jar
</span><span class="hljs-keyword">EXPOSE</span> <span class="hljs-number">8201</span>
</code></pre>
<p>&#x521B;&#x5EFA;&#x955C;&#x50CF;</p>
<pre><code class="lang-commod">&#x8BED;&#x6CD5;&#xFF1A;
docker build [OPTIONS] PATH | URL | -

&#x793A;&#x4F8B;&#xFF1A;
docker build -t tgor/tg-service:1.0.0 .
</code></pre>
<p>build&#x547D;&#x4EE4;&#x53C2;&#x6570;&#x8BF4;&#x660E;</p>
<table>
<thead>
<tr>
<th>&#x547D;&#x4EE4;</th>
<th>&#x8BF4;&#x660E;</th>
<th>&#x793A;&#x4F8B;</th>
</tr>
</thead>
<tbody>
<tr>
<td>-t</td>
<td>&#x955C;&#x50CF;&#x540D;&#x79F0;&#x4E0E;tag</td>
<td></td>
</tr>
<tr>
<td>-m</td>
<td>&#x5185;&#x5B58;&#x6700;&#x5927;&#x503C;</td>
<td></td>
</tr>
<tr>
<td><strong>-f</strong></td>
<td>&#x6307;&#x5B9A;dockerfile&#x8DEF;&#x5F84;</td>
<td></td>
</tr>
<tr>
<td><strong>--memory-swap</strong></td>
<td>&#x8BBE;&#x7F6E;Swap&#x7684;&#x6700;&#x5927;&#x503C;&#x4E3A;&#x5185;&#x5B58;+swap&#xFF0C;&quot;-1&quot;&#x8868;&#x793A;&#x4E0D;&#x9650;swap</td>
</tr>
</tbody>
</table>
<h2 id="&#x521B;&#x5EFA;&#x5BB9;&#x5668;run">&#x521B;&#x5EFA;&#x5BB9;&#x5668;run</h2>
<p>run&#x547D;&#x4EE4;&#x53C2;&#x6570;&#x53C2;&#x8003;</p>
<table>
<thead>
<tr>
<th>&#x53C2;&#x6570;</th>
<th>&#x8BF4;&#x660E;</th>
<th>&#x793A;&#x4F8B;</th>
</tr>
</thead>
<tbody>
<tr>
<td>-p</td>
<td>&#x6620;&#x5C04;&#x7AEF;&#x53E3;&#xFF0C;&#x683C;&#x5F0F;&#x4E3A;&#xFF1A;<strong>&#x4E3B;&#x673A;(&#x5BBF;&#x4E3B;)&#x7AEF;&#x53E3;:&#x5BB9;&#x5668;&#x7AEF;&#x53E3;</strong></td>
<td>docker run --name nginx -p 80:80</td>
</tr>
<tr>
<td>-i</td>
<td><strong>-i:</strong> &#x4EE5;&#x4EA4;&#x4E92;&#x6A21;&#x5F0F;&#x8FD0;&#x884C;&#x5BB9;&#x5668;&#xFF0C;&#x901A;&#x5E38;&#x4E0E; -t &#x540C;&#x65F6;&#x4F7F;&#x7528;&#xFF1B;</td>
<td></td>
</tr>
<tr>
<td>-t</td>
<td><strong>-t:</strong> &#x4E3A;&#x5BB9;&#x5668;&#x91CD;&#x65B0;&#x5206;&#x914D;&#x4E00;&#x4E2A;&#x4F2A;&#x8F93;&#x5165;&#x7EC8;&#x7AEF;&#xFF0C;&#x901A;&#x5E38;&#x4E0E; -i &#x540C;&#x65F6;&#x4F7F;&#x7528;&#xFF1B;</td>
<td></td>
</tr>
<tr>
<td>-d</td>
<td>&#x76EE;&#x6807;&#x955C;&#x50CF;</td>
<td></td>
</tr>
<tr>
<td>-v</td>
<td>&#x6302;&#x8F7D;&#x8DEF;&#x5F84;</td>
<td>&#x5982;&#x4E0B;&#xFF1A;</td>
</tr>
<tr>
<td>--name</td>
<td>&#x5BB9;&#x5668;&#x540D;&#x79F0;</td>
<td></td>
</tr>
<tr>
<td><strong>-e</strong></td>
<td>&#x8BBE;&#x7F6E;&#x73AF;&#x5883;&#x53D8;&#x91CF;</td>
<td>-e MYSQL_ROOT_PASSWORD=123456 -e MYSQL_DATABASE=wordpress</td>
</tr>
<tr>
<td><strong>--link=[]</strong></td>
<td>&#x8FDE;&#x63A5;&#x5230;&#x5176;&#x4ED6;&#x5BB9;&#x5668;</td>
<td></td>
</tr>
<tr>
<td>--rm</td>
<td>&#x5BB9;&#x5668;&#x505C;&#x6B62;&#x540E;&#xFF0C;&#x81EA;&#x52A8;&#x9500;&#x6BC1;&#x5BB9;&#x5668;&#x6587;&#x4EF6;</td>
<td></td>
</tr>
<tr>
<td>-m</td>
<td>&#x9650;&#x5236;&#x6700;&#x5927;&#x5185;&#x5B58;</td>
<td>-m 300M</td>
</tr>
</tbody>
</table>
<p>&#x5E38;&#x7528;&#x793A;&#x4F8B;</p>
<ul>
<li><code>docker run --name nginx5 -p 85:80 -v /share/CACHEDEV1_DATA/Container/nginx/config/nginx.conf:/etc/nginx/nginx.conf -v /share/CACHEDEV1_DATA/Container/nginx/log:/var/log/nginx -v /share/CACHEDEV1_DATA/Container/nginx/config/default.conf:/etc/nginx/conf.d/default.conf -d nginx</code></li>
</ul>
<p>&#x521B;&#x5EFA;&#x5BB9;&#x5668;</p>
<pre><code>docker run -it -p 8201:8201 --name tg-service-1 -d tgor/tg-service:1.0.0
</code></pre><p>&#x6CE8;&#x610F;&#x4E8B;&#x9879;</p>
<p>-d &#x76EE;&#x6807;&#x955C;&#x50CF;&#x53C2;&#x6570;&#x5FC5;&#x987B;&#x653E;&#x5230;&#x6700;&#x540E;&#xFF0C;&#x5426;&#x5219;&#x62A5;&#x9519;&#xFF1A;&#x4EFB;&#x610F;1&#x53C2;&#x6570;&#x653E;&#x5230;-d&#x524D;&#xFF0C;&#x4F1A;&#x8F93;&#x51FA;&#x9519;&#x8BEF;&#xFF0C;&#x5982;&#x4E0B;</p>
<pre><code>starting container process caused &quot;exec: \&quot;--link\&quot;: executable file not found in $PATH&quot;: unknown.
</code></pre><h2 id="&#x73AF;&#x5883;&#x53D8;&#x91CF;env">&#x73AF;&#x5883;&#x53D8;&#x91CF;env</h2>
<p>dockerfile</p>
<pre><code class="lang-dockerfile"><span class="hljs-keyword">ENV</span> myport <span class="hljs-number">8080</span>
<span class="hljs-keyword">ENV</span> mytag abc
<span class="hljs-keyword">CMD</span> <span class="bash">java -jar tg-service.jar --server.port=<span class="hljs-variable">$myport</span> --server.tag=<span class="hljs-variable">$mytag</span>
</span></code></pre>
<p>run&#x547D;&#x4EE4;</p>
<pre><code>docker run -e myport=8080 -e mytag=xyz
</code></pre><p>&#x793A;&#x4F8B;</p>
<pre><code>docker run -it -p 8202:8201 --name tg-service-8202 -e myenv=8202tg -d tgor/tg-service:1.0.1
</code></pre><h2 id="&#x5BB9;&#x5668;&#x95F4;&#x8FDE;&#x63A5;link">&#x5BB9;&#x5668;&#x95F4;&#x8FDE;&#x63A5;link</h2>
<p>run&#x547D;&#x4EE4;&#x53C2;&#x6570;link&#xFF0C;&#x7528;&#x4E8E;&#x8FDE;&#x63A5;&#x4E0D;&#x540C;&#x5BB9;&#x5668;&#xFF0C;&#x51CF;&#x5C11;ip&#x53D8;&#x66F4;&#x5E26;&#x6765;&#x7684;&#x9EBB;&#x70E6;</p>
<pre><code>#&#x521B;&#x5EFA;&#x5BB9;&#x5668;tg-service-8202
docker run -it -p 8202:8201 --name tg-service-8202 -e myenv=8202tg -d tgor/tg-service:1.0.1

#&#x521B;&#x5EFA;&#x5BB9;&#x5668;tg-service-8203&#xFF0C;&#x5E76;&#x8FDE;&#x63A5;02&#xFF0C;&#x522B;&#x540D;&#x4E3A;tgs02
docker run -it -p 8203:8201 --name tg-service-8203 -e myenv=8203tg --link=tg-service-8202:tgs02 -d tgor/tg-service:1.0.1 

#&#x8FDB;&#x5165;&#x5BB9;&#x5668;03
docker exec -it 2ec806c33f74 /bin/bash

#&#x901A;&#x8FC7;link&#x522B;&#x540D;tgs02&#x8BBF;&#x95EE;02&#x7684;&#x63A5;&#x53E3;
curl tgs02:8201/nginx/index
response&#xFF1A;&#x6211;&#x662F;8202tg
</code></pre><h1 id="&#x5E38;&#x7528;&#x955C;&#x50CF;&#x542F;&#x52A8;">&#x5E38;&#x7528;&#x955C;&#x50CF;&#x542F;&#x52A8;</h1>
<h2 id="mysql">mysql</h2>
<pre><code class="lang-shell">#&#x6620;&#x5C04;3306&#x7AEF;&#x53E3;
docker run -i -t --name mysql -p 3306:3306 -d mysql/mysql-server:5.7.26
</code></pre>
<h2 id="sysbench">sysbench</h2>
<pre><code class="lang-shell">#&#x6302;&#x8F7D;lua&#x811A;&#x672C;&#x76EE;&#x5F55;
docker run -i -t --name sysbench4 -v /share/CACHEDEV1_DATA/Container/mysql/test:/lua -d severalnines/sysbench
</code></pre>
<h2 id="nginx">nginx</h2>
<pre><code class="lang-shell">docker run -i -t --name nginx -p80:80 -p8777:8777 -v /mnt/d/App/nginx/config/nginx.conf:/etc/nginx/nginx.conf -v /mnt/d/App/nginx/log:/app/nginx/log -d daocloud.io/library/nginx:1.16.0
</code></pre>
<h1 id="&#x5F85;&#x89E3;&#x51B3;&#x95EE;&#x9898;">&#x5F85;&#x89E3;&#x51B3;&#x95EE;&#x9898;</h1>
<ol>
<li>&#x66B4;&#x9732;&#x591A;&#x4E2A;&#x7AEF;&#x53E3;</li>
<li>&#x5BB9;&#x5668;&#x505C;&#x6B62;&#x540E;&#xFF0C;&#x6570;&#x636E;&#x4E22;&#x5931;&#x600E;&#x4E48;&#x7834;&#xFF1F;</li>
</ol>
<h1 id="wsl-docker">WSL Docker</h1>
<h2 id="&#x5171;&#x4EAB;&#x76EE;&#x5F55;">&#x5171;&#x4EAB;&#x76EE;&#x5F55;</h2>
<p>wsl&#x4E0E;windows&#x5171;&#x4EAB;&#x76EE;&#x5F55;&#xFF1A;<code>/mnt/d</code></p>
<h1 id="nas-docker">Nas Docker</h1>
<h2 id="&#x56FD;&#x5185;&#x955C;&#x50CF;&#x4ED3;&#x5E93;">&#x56FD;&#x5185;&#x955C;&#x50CF;&#x4ED3;&#x5E93;</h2>
<p><a href="https://www.chenyupeng.com/archives/%E4%B8%BA%E5%A8%81%E8%81%94%E9%80%9Anas%E8%AE%BE%E7%BD%AEdockerhub%E5%8A%A0%E9%80%9F%E6%BA%90" target="_blank">&#x8BBE;&#x7F6E;&#x52A0;&#x901F;&#x6E90;</a></p>
<p><code>docker.json</code>&#x8DEF;&#x5F84;&#xFF1A;<code>/share/CACHEDEV1_DATA/.qpkg/container-station/etc/docker.json</code></p>
<p><img src="assets/1585550449265.png" alt="1585550449265"></p>
<p><a href="https://www.daocloud.io/mirror" target="_blank">&#x4F7F;&#x7528;DaoCloud&#x4F5C;&#x4E3A;&#x955C;&#x50CF;&#x4ED3;&#x5E93;</a></p>
<h2 id="&#x5176;&#x4ED6;">&#x5176;&#x4ED6;</h2>
<p>&#x5171;&#x4EAB;&#x76EE;&#x5F55;&#x8DEF;&#x5F84;&#xFF1A;<code>/share/CACHEDEV1_DATA/</code></p>
<p><img src="assets/1585550543032.png" alt="1585550543032"></p>
<footer class="page-footer"><span class="copyright">Copyright &#xA9; tgor.top 2019 all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification">&#x8BE5;&#x6587;&#x4EF6;&#x4FEE;&#x8BA2;&#x65F6;&#x95F4;&#xFF1A;
2020-04-29 14:06:31
</span></footer>
<script>console.log("plugin-popup....");document.onclick = function(e){ e.target.tagName === "IMG" && window.open(e.target.src,e.target.src)}</script><style>img{cursor:pointer}</style>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../category/容器化.html" class="navigation navigation-prev " aria-label="Previous page: 容器化">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="docker笔记.html#基础操作" class="navigation navigation-next " aria-label="Next page: Docker基础操作">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"Docker学习笔记","level":"1.8.1","depth":2,"next":{"title":"Docker基础操作","level":"1.8.2","depth":2,"anchor":"#基础操作","path":"Docker/docker笔记.md","ref":"Docker/docker笔记.md#基础操作","articles":[]},"previous":{"title":"容器化","level":"1.8","depth":1,"path":"category/容器化.md","ref":"category/容器化.md","articles":[{"title":"Docker学习笔记","level":"1.8.1","depth":2,"path":"Docker/docker笔记.md","ref":"Docker/docker笔记.md","articles":[]},{"title":"Docker基础操作","level":"1.8.2","depth":2,"anchor":"#基础操作","path":"Docker/docker笔记.md","ref":"Docker/docker笔记.md#基础操作","articles":[]},{"title":"DockerFile","level":"1.8.3","depth":2,"anchor":"#dockerfile","path":"Docker/docker笔记.md","ref":"Docker/docker笔记.md#dockerfile","articles":[]}]},"dir":"ltr"},"config":{"plugins":["chapter-fold","splitter","tbfed-pagefooter","page-toc-button","-search","search-pro","popup","back-to-top-button","code","copy-code-button"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright &copy tgor.top 2019","modify_label":"该文件修订时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"chapter-fold":{},"splitter":{},"search-pro":{"cutWordLib":"nodejieba","defineWord":["Gitbook Use"]},"popup":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"code":{"copyButtons":true},"fontsettings":{"theme":"sepia","family":"serif","size":1},"highlight":{},"page-toc-button":{"maxTocDepth":2,"minTocSize":2},"back-to-top-button":{},"copy-code-button":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"tgor","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"tgor note","gitbook":"*","description":"tgor生活工作记录"},"file":{"path":"Docker/docker笔记.md","mtime":"2020-04-29T06:06:31.231Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-04-29T08:43:24.127Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-chapter-fold/chapter-fold.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-page-toc-button/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-copy-code-button/toggle.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

